<%@page import="java.util.ArrayList"%>
<%@page import="com.rfqx.entity.Customer"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Customers</title>
</head>
<body>
	
	<table>
		<thead>
			<tr>
				<th>#</th>
				<th>Name</th>
				<th>eMail</th>
				<th>Phone</th>
			</tr>
		</thead>
		<tbody>
		
			<c:forEach var="customer" items="${customers}">
			<tr>
				<td>${customer.id}</td>
				<td>${customer.name}</td>
				<td>${customer.email}</td>
				<td>${customer.phone}</td>
			</tr>
			</c:forEach>
			
		</tbody>
				
	</table>			

</body>
</html>